{include file="../../../application/admin/view/public/head" /}
<style>
    .layui-form-pane .layui-form-label { width:200px; text-align: right;}
</style>
<div class="page-container p10">

    <div class="showpic" style="display:none;"><img class="showpic_img" width="120" height="160"></div>

    <form class="layui-form layui-form-pane" method="post" action="">
        <div class="layui-form-item">
            <label class="layui-form-label">体育播放器底图：</label>
            <div class="layui-input-inline w500">
                <input type="text" name="player_image" autocomplete="false" placeholder="图片地址或路径" value="{$player_image}" class="layui-input upload-input">
            </div>
            <div class="layui-input-inline ">
                <a href="https://www.gudian.org/tools/tt.html" target="_blank" class="layui-btn" >头条图床</a>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">影视播放器底图：</label>
            <div class="layui-input-inline w500">
                <input type="text" name="vod_player_image" autocomplete="false" placeholder="图片地址或路径" value="{$vod_player_image}" class="layui-input upload-input">
            </div>
            <div class="layui-input-inline ">
                <a href="https://www.gudian.org/tools/tt.html" target="_blank" class="layui-btn" >头条图床</a>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">默认分享底图：</label>
            <div class="layui-input-inline w500">
                <input type="text" name="share_image"  autocomplete="false" placeholder="图片地址或路径" value="{$share_image}" class="layui-input upload-input">
            </div>
            <div class="layui-input-inline ">
                <a href="https://www.gudian.org/tools/tt.html" target="_blank" class="layui-btn" >头条图床</a>
            </div>
        </div>
        {foreach $types as $type}

        <div class="layui-form-item">
            <label class="layui-form-label">{$type['name']} 类型分享底图：</label>
            <div class="layui-input-inline w500">
                <input type="text" name="share_image_{$type.id}"  autocomplete="false" placeholder="图片地址或路径" value="<?php echo ${'share_image_'.$type['id']};?>" class="layui-input upload-input">
            </div>
            <div class="layui-input-inline ">
                <a href="https://www.gudian.org/tools/tt.html" target="_blank" class="layui-btn" >头条图床</a>
            </div>
        </div>
        {/foreach}




        <div class="layui-form-item center">
            <div class="layui-input-block">
                <button type="submit" class="layui-btn" lay-submit="" lay-filter="formSubmit" data-child="true">保 存</button>
                <button class="layui-btn layui-btn-warm" type="reset">还 原</button>
            </div>
        </div>
    </form>

</div>
{include file="../../../application/admin/view/public/foot" /}
<script type="text/javascript">

    layui.use(['form','upload', 'layer'], function () {
        // 操作对象
        var form = layui.form
            , layer = layui.layer
            , upload = layui.upload
            , $ = layui.jquery;

    });
</script>

</body>
</html>